<?php
class input extends CI_Controls{

	var $type;

	function __construct(){
		parent::__construct();
	}

	function drawContent(){

		$text='';
		$text.='<input type="'.$this->type.'"';
		$text.=$this->parseAtributos();
		$text.=' value="'.$this->value.'"';

		$text.=' />';
		return $text;
	}

}

class text extends input{
	function __construct(){
		parent::__construct();
		$this->type='text';
	}
}
class check extends input{
	function __construct(){
		parent::__construct();
		$this->type='checkbox';
	}
}

class hidden extends input{
	function __construct(){
		parent::__construct();
		$this->type='hidden';
	}
}
class radio extends input{
	function __construct(){
		parent::__construct();
		$this->type='radio';
	}
}

class password extends input{
	function __construct(){
		parent::__construct();
		$this->type='password';
	}
}

class search extends input{
	function __construct(){
		parent::__construct();
		$this->type='search';
	}
}

class email extends input{
	function __construct(){
		parent::__construct();
		$this->type='email';
	}
}

class number extends input{
	function __construct(){
		parent::__construct();
		$this->type='number';
	}
}

class submit extends input{
	function __construct(){
		parent::__construct();
		$this->type='submit';
	}
}